package com.huashi.dealer.modular.business.order.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Map;

/**
 * @ClassName OrderSendVo
 * @Description 发货详情入参
 * @Author 谭陈强
 * @Date 2025/8/18 16:20
 */
@Data
@Schema(description = "发货详情入参")
public class OrderSendBo {
    @Schema(description = "订单ID")
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    @Schema(description = "发货类型：1-全部发货，2-部分发货")
    @NotNull(message = "发货类型不能为空")
    private Integer type;

    @Schema(description = "发货凭证图片", example = "431,430,429")
    @NotNull(message = "发货凭证图片不能为空")
    private String images;

    @Schema(description = "物流公司")
    private String expressCompany;

    @Schema(description = "物流单号")
    private String expressNo;

    @Schema(description = "商品发货数量映射，key为商品ID，value为发货数量")
    private Map<Long, Integer> goodsNum;
}